package com.ruoyi.oa.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工功能对象 oa_employees
 * 
 * @author ruoyi
 * @date 2024-12-28
 */
public class OaEmployees extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工id */
    private Long oaEmployeeId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 部门名 */
    @Excel(name = "部门名")
    private String department;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    /** $column.columnComment */
    private Date createdAt;

    /** $column.columnComment */
    private Date updatedAt;

    public void setOaEmployeeId(Long oaEmployeeId) 
    {
        this.oaEmployeeId = oaEmployeeId;
    }

    public Long getOaEmployeeId() 
    {
        return oaEmployeeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("oaEmployeeId", getOaEmployeeId())
            .append("name", getName())
            .append("department", getDepartment())
            .append("position", getPosition())
            .append("contactInfo", getContactInfo())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
